package com.hy.springboot.mail.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * author: Mr.Du
 * Date: 2023/5/31
 * Time: 16:15
 */
@Data
@ConfigurationProperties(prefix = "mail")
public class MailProperties {
    
    /**
     * 发件人
     */
    private String from;
    
    /**
     * 发件人昵称
     */
    private String personal;
    
    /**
     * 抄送人
     */
    private String bcc;
    
    /**
     * 主题
     */
    private String subject;
    
}

